<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-emergency-add">
			
			<div class="form-group">
				<label class="col-sm-3 control-label">医生名称：</label>
				<div class="col-sm-8">
					<select id="yishengId" name="yishengId" class="form-control">
						<option th:each="post:${yisheng}" th:value="${post.userId}" th:text="${post.userName}"></option>
					</select>
					
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">护士名称：</label>
				<div class="col-sm-8">
					<select id="hushiId" name="hushiId" class="form-control">
						<option th:each="post:${hushi}" th:value="${post.userId}" th:text="${post.userName}"></option>
					</select>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">疾病种类：</label>
				<div class="col-sm-8">
					<select class="form-control" name="jibingType">
				        <option value="传染病">传染病</option>
				        <option value="急诊">急诊</option>
				        <option value="手足口">手足口</option>
				        <option value="紧急病种">紧急病种</option>
				        <option value="空气传播类型">空气传播类型</option>
				        <option value="动物传播类型">动物传播类型</option>
				    </select>
				</div>
			</div>
		</form>
	</div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "module/emergency"
		$("#form-emergency-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/add", $('#form-emergency-add').serialize());
	        }
	    }
	</script>
</body>
</html>
